/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.lucava.boatskeeper.client.event.boat;

import com.google.gwt.event.shared.GwtEvent;

/**
 *
 * @author glenn
 */
public class ListBoatsEvent extends GwtEvent<BoatHandler> {

    public static GwtEvent.Type<BoatHandler> TYPE = new GwtEvent.Type<BoatHandler>();

    @Override
    public GwtEvent.Type<BoatHandler> getAssociatedType() {
        return TYPE;
    }

    @Override
    protected void dispatch(BoatHandler handler) {
        handler.onListBoats(this);
    }
}